package com.ruoyi.common.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "wxconfig")
public class WxConfig {
	// 微信开放平台appid
	private String appida;
	//  微信开放平台 secret
	private String secreta;
	// 小程序appid
	private String appid;
	// 小程序 secret
	private String secret;
	// 商户ID
	private String mchid;
	// api API密钥
	private String apiKey;
	
	// 优车商小店小程序appid
	private String appidy;
	// 优车商小店 小程序 secret
	private String secrety;
	//
	/**
	 * 微信支付 回调 通知 url
	 * 
	 */
	private String callBackUrl;
	
	/**
	 * 微信退款回调地址
	 */
	private String callBackUrlRefund;
	// 证书文件 名称
	private String pkPath;

	public String getAppida() {
		return appida;
	}
	public void setAppida(String appida) {
		this.appida = appida;
	}
	public String getSecreta() {
		return secreta;
	}
	public void setSecreta(String secreta) {
		this.secreta = secreta;
	}
	public String getAppid() {
		return appid;
	}
	public void setAppid(String appid) {
		this.appid = appid;
	}
	public String getSecret() {
		return secret;
	}
	public void setSecret(String secret) {
		this.secret = secret;
	}
	public String getMchid() {
		return mchid;
	}
	public void setMchid(String mchid) {
		this.mchid = mchid;
	}
	public String getApiKey() {
		return apiKey;
	}
	public void setApiKey(String apiKey) {
		this.apiKey = apiKey;
	}
	public String getAppidy() {
		return appidy;
	}
	public void setAppidy(String appidy) {
		this.appidy = appidy;
	}
	public String getSecrety() {
		return secrety;
	}
	public void setSecrety(String secrety) {
		this.secrety = secrety;
	}
	public String getCallBackUrl() {
		return callBackUrl;
	}
	public void setCallBackUrl(String callBackUrl) {
		this.callBackUrl = callBackUrl;
	}
	public String getCallBackUrlRefund() {
		return callBackUrlRefund;
	}
	public void setCallBackUrlRefund(String callBackUrlRefund) {
		this.callBackUrlRefund = callBackUrlRefund;
	}
	public String getPkPath() {
		return pkPath;
	}
	public void setPkPath(String pkPath) {
		this.pkPath = pkPath;
	}
	
}
